from PyQt5.QtWidgets import QDialog, QVBoxLayout, QSlider, QLabel
from PyQt5.QtCore import Qt

class WatermarkProcessor(QDialog):
    def __init__(self, parent=None):
        super().__init__(parent)
        self.setWindowTitle("水印处理")
        self.setFixedSize(300, 200)
        layout = QVBoxLayout()
        self.slider = QSlider(Qt.Horizontal)
        self.slider.setRange(0, 100)
        layout.addWidget(QLabel("水印去除强度："))
        layout.addWidget(self.slider)
        QPushButton("开始处理", clicked=self.accept).addTo(layout)
        self.setLayout(layout)